
TPDJDBSearch version 1.00
...................................................
Copyright  2000-2002 by PDJTools
Author Peric Djordje
Component for D2,D3,D4,D5,D6,D7
Birthday of Components 31.08.2002.
...................................................

Contact:

http://www.ptt.yu/korisnici/p/e/pericddn/
E-mail: pericddn@ptt.yu


...................................................

Order:

For more information about order and payment, contact me e-mail:pericddn@ptt.yu  or visit my web site http://www.ptt.yu/korisnici/p/e/pericddn/
...................................................

Description:

TPDJDBSearch is component for quick search of record in specified field of the table. For the search indexed field in table is not necesarry. Parts of the value of the record can be searched, no matter of their position in the record. Search can be used with TTable and TQuery components.

...................................................

Property and functions: 

    function Search (const Value: String): Boolean;
    function SearchNext (const Value: String): Boolean;
    function SearchFirst (const Value: String): Boolean;
    function SearchLast (const Value: String): Boolean;
    function SearchPrior (const Value: String): Boolean;

    property DataSource;
    property DataField;
    property MatchCase;
    property OnlyPartOfWord;
    property StartPosInSearchWord;

...................................................

Install: 

(Trial edition)

You must unzip the ...Source\D(2...6).zip with the -d parameter of PKUNZIP or if You use WinZip, You must check Use Folder Names. This action is necessary because it recreates the directory structure.

  Delphi 2:

    * Select the 'Component | Install' menu item.
    * In the Install Components dialog, click the Add button.
    * In the Add Module dialog, enter the full path name of each of the 
      components' registration unit ('.../Source/D2/PDJ_DBSearchReg') and click OK.
    * In the Install Components dialog, click OK.
    * The component library will be rebuilt and a new tab named 'PDJ' will be 
      available on the Component Palette.


 Delphi 3:

   * Open the package PDJDBS_D3T.dpk.
   * Click the Install button. If this package has already been installed (i.e. you are updating existing files), click the       Compile button instead.
   * When compiler done, close the package PDJDBS_D3T.dpk editor window.
   * The component library will be rebuilt and a new tab named 'PDJ' will be 
      available on the Component Palette.
   * Update the library search path:
     Select "Tools", "Environment options..." on page "Library". Add the PDJ_DBSearch directory to the "Library path" 


 Delphi 4:

   * Open the package PDJDBS_D4T.dpk.
   * Click the Install button. If this package has already been installed (i.e. you are updating existing files), click the       Compile button instead.
   * When compiler done, close the package PDJDBS_D4T.dpk editor window.
   * The component library will be rebuilt and a new tab named 'PDJ' will be 
      available on the Component Palette. 
   * Update the library search path:
     Select "Tools", "Environment options..." on page "Library". Add the PDJ_DBSearch directory to the "Library path"

 Delphi 5:

   * Open the package PDJDBS_D5T.dpk.
   * Click the Install button. If this package has already been installed (i.e. you are updating existing files), click the       Compile button instead.
   * When compiler done, close the package PDJDBS_D5T.dpk editor window.
   * The component library will be rebuilt and a new tab named 'PDJ' will be 
      available on the Component Palette. 
   * Update the library search path:
     Select "Tools", "Environment options..." on page "Library". Add the PDJ_DBSearch directory to the "Library path"

 Delphi 6:

   * Open the package PDJDBS_D6T.dpk.
   * Click the Install button. If this package has already been installed (i.e. you are updating existing files), click the       Compile button instead.
   * When compiler done, close the package PDJDBS_D6T.dpk editor window.
   * The component library will be rebuilt and a new tab named 'PDJ' will be 
      available on the Component Palette. 
   * Update the library search path:
     Select "Tools", "Environment options..." on page "Library". Add the PDJ_DBSearch directory to the "Library path"

(Full edition)

  Copy file 'PDJ_DBSearch.pas' in source directory and rebuilt a package. 

...................................................

I have problems:


I have problems, Delphi doesn't find the file "PDJ_DBSearch.dcu"

I installed the package PDJDBS_D6T.dpk.
I put the TPDJDBSearch on a form, then when I tried to compile I got an error:  
[Fatal Error] Unit1.pas: File not found: 'TPDJDBSearch.dcu'

Solution of this problem:

You have to include the full path of Your TPDJDBSearch Source directory in search path.
Select Tools | Environment Options... on the menu bar.

In dialog window called Enviroment Options select Library tab and find Item Library Path and Press button "..."

In dialog window called Directories input follow string:

Example: C:\...\D6

and press Add button

Click OK.


...................................................

Author:
Peric Djordje
02.Sept.2002.

  